package cn.maxhou.t0005.factory.impl;

import cn.maxhou.t0005.factory.AbstractFactory;
import cn.maxhou.tongyon.dao.NewsDao;
import cn.maxhou.tongyon.dao.impl.NewsDaoImpl;

//抽象工厂接口的实现类
public class MySqlDaoFactory implements AbstractFactory {

    @Override
    public NewsDao getInstance() {
        return new NewsDaoImpl();
    }
}
